package com.xr.singleton.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
public class UserEntity extends BaseEntity implements Serializable {

    private String username;
    private String nickname;
    private String password;
    private String avatar;
    private String salt;
    private String tel;
    private String email;
    private Integer locked;

    @TableField(exist = false)
    private List<Map<String,Object>> permissions;

}
